package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Appointment;
import cn.wolfcode.car.qo.AppointmentQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAppointmentService {
    int delete(Long id);

    int save(Appointment record);

    Appointment get(Long id);

    PageInfo<Appointment> list(AppointmentQueryObject qo);

    List<Appointment> listAll();

    int update(Appointment record);


}
